package lxbAdmin.userSystem.common;


public enum ResponseCode {

    STD_SUCCESS("0", "操作成功"),
    STD_SAVE_SUCCESS("0","保存成功"),
    STD_EDIT_SUCCESS("0","编辑成功"),
    STD_DEL_SUCCESS("0","删除成功"),
    STD_UNKONW("-1", "未知异常"),
    STD_BAD_PARAMETERS("-2", "请求参数异常"),
    STD_LOGIN_SUCCESS("0", "登陆成功");

    private String code;

    ResponseCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    private String message;

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
